/**
 * SubmitItem
 */

 import consts from "../../../../../consts/consts";
 import React,{Component}from "react";

 class SubmitItem extends Component{
    handleOnOpenDialog(){
//        var root = this.props.root;
//        var data = this.props.data;
//        root.openDialog(consts.DIALOG_TYPE.FORMEVENT, false, data);
        const {data} = this.props;
        console.log("open dialog");
    }
    render(){
        return (
            <button onClick={() => this.handleOnOpenDialog()}>{$._("submit form")}</button>
            
        )
    }
 }

 module.exports = SubmitItem;
